package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.StudentEntity;
import org.springframework.stereotype.Service;

/**
 * @author v2tila on 23:00 2019/2/24
 */
@Service
public interface StudentService {
    boolean existsBySchoolNoAndNameAndNoAndPassword(String schoolNo, String name,
                                            String no, String password);

    StudentEntity findBySchoolNoAndNo(String schoolNo, String no);

    StudentEntity findByNo(String no);

    StudentEntity findByUniqueId(String uniqueId);

}
